WaveAnimationSpecs

data class WaveAnimationSpecs(val waveHeightAnimationSpec: AnimationSpec<Dp>, val waveVelocityAnimationSpec: AnimationSpec<Dp>, val waveStartSpreadAnimationSpec: AnimationSpec<Float>)

Custom animation configurations for various properties of the wave.

Parameters

waveHeightAnimationSpec

used for changes in wave height.

waveVelocityAnimationSpec

used for changes in wave velocity (whether in speed or direction).

Constructors

Link copied to clipboard
constructor(waveHeightAnimationSpec: AnimationSpec<Dp>, waveVelocityAnimationSpec: AnimationSpec<Dp>, waveStartSpreadAnimationSpec: AnimationSpec<Float>)

Properties

Link copied to clipboard

Used for changes in wave height.

Link copied to clipboard

Used for wave expansion at the start of the composition.

Link copied to clipboard

Used for changes in wave velocity (whether in speed or direction).